package co.yixiang.modules.order.aftersale.entity.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 商城退款流水
 *
 * @author Chopper
 * @since 2020/11/17 7:25 下午
 */
@Data
public class AfterSalePriceDetailDTO implements Serializable {


    private static final long serialVersionUID = 8808470688518188146L;
    @ApiModelProperty(value = "商品总金额（商品原价）")
    private Double goodsPrice;

    @ApiModelProperty(value = "配送费")
    private Double freightPrice;

    @ApiModelProperty(value = "流水金额(入账 出帐金额) = goodsPrice - discountPrice - couponPrice")
    private Double payPrice;

    @ApiModelProperty(value = "最终结算金额 = flowPrice - platFormCommission - distributionCommission")
    private Double billPrice;


    public AfterSalePriceDetailDTO() {
        goodsPrice = 0d;
        freightPrice = 0d;
        payPrice = 0d;
        billPrice = 0d;
    }

}
